<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="<c:url value="/css/pintuer.css"/>">
    <link rel="stylesheet" href="<c:url value="/css/user.css"/>">
    <script src="<c:url value="/js/jquery.js"/>"></script>
    <script src="<c:url value="/js/pintuer.js"/>"></script>
</head>
<body>
<div class="panel admin-panel">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>新增班级</strong></div>
    <div class="body-content">
        <form method="post" class="form-x" action="?action=add">
            <div class="form-group">
                <div class="label">
                    <label>班级编号：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="classID" data-validate="required:请输入班级编号" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>班级名称：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="className" data-validate="required:请输入班级名称" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>二级学院编号：</label>
                </div>
                <select name = "depID" class="input w50">
                    <c:forEach var="m" items="${depList}">
                        <option value="${m.depID}">${m.depID}</option>
                    </c:forEach>
                </select>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>专业：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="major" data-validate="required:请输入专业名称" />
                    <div class="tips"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="label">
                    <label>年级：</label>
                </div>
                <div class="field">
                    <input type="text" class="input w50" name="grade" data-validate="required:请输入年级名称" />
                    <div class="tips"></div>
                </div>
            </div>

            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                    <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
                </div>
            </div>
        </form>
    </div>
</div>

</body></html>
